package com.situ.ssm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.situ.ssm.pojo.bo.StudentSearchBO;
import com.situ.ssm.pojo.entity.Student;

public interface StudentMapper {
	List<Student> selectAll();

	List<Student> selectByPage(@Param(value = "studentSearchBO")StudentSearchBO studentSearchBO, @Param(value = "offset")int offset,@Param(value = "limit") Integer limit);

	int selectTotalCount(StudentSearchBO studentSearchBO);

	int update(Student student);
	
	int deleteAllByArray(int[] idArray);
	int deleteAllByList(List<Integer> idList);
	
	List<Student> selectByCondition(Student student);
}
